import axios from '@/axios' //这是引入axios实例

// 获取后台首页统计1
export const getStatistics1 = () => {
  return axios.get('/admin/statistics1')
}
// 获取店铺和交易信息
export function getStatistics2 () {
  return axios.get('/admin/statistics2')
}
// 获取后台首页图表
export function getStatistics3 (type) {
  return axios.get('/admin/statistics3?type=' + type)
}
